<?php
// 初始化
include './Config/init.php';

$c = !empty($_REQUEST['c']) ? $_REQUEST['c'] : 'Index';

$a = !empty($_REQUEST['a']) ? $_REQUEST['a'] : 'index';

$className = $c . 'Controller';

$route = new $className;

$route->$a();